#pragma once
#include"MidiCode.h"
class MidiMessage {
public:
	int time = 0, channel = 0, flip = 0, velocity = 0, cmd = 0, program = 0;
	MidiMessage() {}
	int size();
	static MidiMessage NoteOn(int note, int velocity, int channel, int time);
	static MidiMessage NoteOff(int note, int velocity, int channel, int time);
	static MidiMessage ProgramChange(int program, int channel);
};
